import * as React from 'react';

import {IWidget} from './IWidget';

export default [
  {
    name: 'text',
    display: '文本',
    viewType: 'text',
    icon: () => {
      return (<span className="fa fa-font"/>);
    }
  }, {
    name: 'image',
    display: '图片',
    viewType: 'image',
    icon: () => {
      return (<span className="fa fa-picture-o"/>);
    }
  }, {
    name: 'link',
    display: '链接',
    viewType: 'link',
    icon: () => {
      return (<span className="fa fa-link"/>);
    }
  }, {
    name: 'div',
    display: '容器',
    viewType: 'div',
    icon: () => {
      return (<span className="fa fa-square-o"/>);
    }
  }, {
    name: 'hoverEffectPane',
    display: 'HoverEffect容器',
    viewType: 'hoverEffectPane',
    icon: () => {
      return (<span className="fa fa-square-o"/>);
    }
  }, {
    name: 'tabPane',
    display: 'TabPane',
    viewType: 'tabPane',
    icon: () => {
      return (<span className="fa fa-credit-card"/>);
    }
  }, {
    name: 'tabItem',
    display: 'TabItem',
    viewType: 'tabItem',
    icon: () => {
      return (<span className="fa fa-address-card-o"/>);
    }
  }, {
    name: 'sliderPane',
    display: 'SliderPane',
    viewType: 'sliderPane',
    icon: () => {
      return (<span className="fa fa-files-o"/>);
    }
  }, {
    name: 'sliderItem',
    display: 'SliderItem',
    viewType: 'sliderItem',
    icon: () => {
      return (<span className="fa fa-file-o"/>);
    }
  }
] as IWidget[];
